- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 33.6k
[18.x] src: clarify OptionEnvvarSettings member names #45994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Closed
      
      
    
                
     Closed
            
            
          Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    | Review requested: 
 | 
2098d7a    to
    bac6b7d      
    Compare
  
    
              
                    fhinkel
  
              
              approved these changes
              
                  
                    Jan 25, 2023 
                  
              
              
            
            
7351221    to
    fcfde34      
    Compare
  
    | Has this any chance of landing? Would be great to get the Happy Eyeballs global setting in 18.x working asap. | 
| @legendecas are you able to rebase this to get it landed? | 
The term `Environment` in `kAllowedInEnvironment` and `kDisallowedInEnvironment` has nothing to do with the commonly used term `node::Environment`. Rename the member to `kAllowedInEnvvar` and `kDisallowedInEnvvar` respectively to reflect they are options of `OptionEnvvarSettings`. As `OptionEnvvarSettings` is part of the public embedder APIs, the legacy names are still preserved. PR-URL: nodejs#45057 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
0585746    to
    37d7f81      
    Compare
  
    | Rebased. | 
  This was referenced May 24, 2023 
      
| Flaky tests or CI problem? | 
  This was referenced May 28, 2023 
      
              
                    danielleadams
  
              
              approved these changes
              
                  
                    May 29, 2023 
                  
              
              
            
            
| Landed in 0d5e324 | 
    
  danielleadams 
      pushed a commit
      that referenced
      this pull request
    
      May 29, 2023 
    
    
      
  
    
      
    
  
The term `Environment` in `kAllowedInEnvironment` and `kDisallowedInEnvironment` has nothing to do with the commonly used term `node::Environment`. Rename the member to `kAllowedInEnvvar` and `kDisallowedInEnvvar` respectively to reflect they are options of `OptionEnvvarSettings`. As `OptionEnvvarSettings` is part of the public embedder APIs, the legacy names are still preserved. PR-URL: #45057 Backport-PR-URL: #45994 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
      
        
      
      
  
    23 tasks
  
      
        
      
      
  
    22 tasks
  
    
  aduh95 
      pushed a commit
        to aduh95/node
      that referenced
      this pull request
    
      Feb 18, 2025 
    
    
      
  
    
      
    
  
The term `Environment` in `kAllowedInEnvironment` and `kDisallowedInEnvironment` has nothing to do with the commonly used term `node::Environment`. Rename the member to `kAllowedInEnvvar` and `kDisallowedInEnvvar` respectively to reflect they are options of `OptionEnvvarSettings`. As `OptionEnvvarSettings` is part of the public embedder APIs, the legacy names are still preserved. PR-URL: nodejs#45057 Backport-PR-URL: nodejs#45994 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      Labels
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
The term
EnvironmentinkAllowedInEnvironmentandkDisallowedInEnvironmenthas nothing to do with the commonly used termnode::Environment. Rename the member tokAllowedInEnvvarandkDisallowedInEnvvarrespectively to reflect they are options ofOptionEnvvarSettings.As
OptionEnvvarSettingsis part of the public embedder APIs, the legacy names are still preserved.PR-URL: #45057
Reviewed-By: James M Snell [email protected]
Reviewed-By: Darshan Sen [email protected]
Reviewed-By: Joyee Cheung [email protected]
Reviewed-By: Rafael Gonzaga [email protected]
Reviewed-By: Anna Henningsen [email protected]